package com.hunau.novel_reading.request;

import org.hibernate.validator.constraints.NotBlank;

public class BooksSeekReq {
    @NotBlank(message = "关键字不能为空")
    private String keyword;

    public @NotBlank(message = "关键字不能为空") String getKeyword() {
        return keyword;
    }

    public void setKeyword(@NotBlank(message = "关键字不能为空") String keyword) {
        this.keyword = keyword;
    }
    public BooksSeekReq() {
    }
    public BooksSeekReq(String keyword) {
        this.keyword = keyword;
    }
}
